<?php
namespace App\Models\Enum;
class SurveyQuestionEnum
{
    // 状态类别
    const single_answer = 1; //单选题
    const multiple_choice_answers = 2; //多选题
    const fill_in_the_blank_answers = 3; //填空题

    public static function getTypeName($status){
        switch ($status){
            case self::single_answer:
                return '单选题';
            case self::multiple_choice_answers:
                return '多选题';
            case self::fill_in_the_blank_answers:
                return '填空题';
            default:
                return '单选题';
        }

    }
}
